package com.atguigu.spring.service.impl;

import com.atguigu.spring.dao.HelloDao;
import com.atguigu.spring.service.HelloService;

public class HelloServiceImpl implements HelloService {

    private HelloDao helloDao;

    public void setHelloDao(HelloDao helloDao) {
        this.helloDao = helloDao;
    }

    public void seyHello(){
        helloDao.sayHello();
    }
}
